/*
package cn.minsh.lims.eoms.modules.app.service.impl;

import cn.minsh.lims.eoms.modules.app.service.QueueSendMessageService;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class QueueSendMessageServiceImpl {

    @Autowired
    private RabbitTemplate rabbitTemplate;

    @Value("${spring.rabbitmq.item_topic_exchange}")
    public  String item_topic_exchange ;

    @Override
    @Async
    public void sendMessage(String routingKey, Object object) {
        System.out.println("==============================================");
        rabbitTemplate.convertAndSend(item_topic_exchange,routingKey,object);
    }
}
*/
